
package org.finegold.core.netty.core.annotion;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Description: 请求命令
 *
 * @author QinYueFeng
 * @since: 1.0
 * Create Date Time: 2018/7/4 15:09
 * Update Date Time:
 * @see
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface SocketCommand {

    /**
     * 请求的命令号
     * @return
     */
    short cmd();
}
